/*
    Copyright (C) 2010-2011 AmigaVR
    
    This file is part of AmigaVR.
    Written by Ketfi-Chérif Mehdi <ketficherif.mehdi@gmail.com>,
	       Laügt Franz <znarf94@gmail.com>

    AmigaVR is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    AmigaVR is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with AmigaVR.  If not, see <http://www.gnu.org/licenses/>.

*/

#ifndef _GLOBAL_H
#define _GLOBAL_H

#if (defined(_WAVTEST_) && defined(_INTERRUPT_TEST_))
#error "You can't compile wav and sample test at the same time."
#endif

#define F_CPU 8000000UL

#include <inttypes.h>
#include <string.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <util/delay.h>
#include <util/parity.h>
#include <avr/interrupt.h>

#include "defs.h"
#include "struct.h"
#include "rtc.h"
#include "timer.h"
#include "memory.h"
#include "usart_driver.h"
#include "stream.h"
#include "mod.h"

#endif
